home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10718 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: inforamp.net!ts6-06
  2. From: rmorin@inforamp.net (Randy Charles Morin)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: HELP NEEDED ON C++ TVISION
  5. Date: Sat, 09 Mar 96 19:18:46 GMT
  6. Organization: MiddleWorld SoftWare
  7. Message-ID: <4hslj3$rsm@sam.inforamp.net>
  8. References: <891248863wnr@novagrp.demon.co.uk>
  9. NNTP-Posting-Host: ts6-06.tor.inforamp.net
  10. X-Newsreader: News Xpress Version 1.0 Beta #4
  11.  
  12. In article <891248863wnr@novagrp.demon.co.uk>,
  13.    Faisal Sheikh <faisal@novagrp.demon.co.uk> wrote:
  14. >
  15. >Faisal Sheikh      EMail faisal@novagrp.demon.co.uk
  16. >I have written a program for a simple editor using TVision. I can write 
  17. >on active window using keyboard, but I don't know how to display a 
  18. >string or a character on active window. I have drived the main window 
  19. >from class TAplication and child window from TEditWindow. Can anybody 
  20. >tell me what functions to use. I will be greatful if you can email me. 
  21.  
  22. I'm assuming by active window, you mean the TEditWindow.  
  23.  
  24. char buffer[]="Hello";
  25. TEditWindow p(...);
  26. ..
  27. p.SetText(buffer);
  28.  
  29. But, I haven't used TVision in almost two years and I might be confusing the 
  30. TEditWindow with the one in OWL.
  31.  
  32. Agrivar
  33.